package com.teamc.team.mapper;

import com.teamc.team.entity.Object;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teamc.team.vo.AdminObjectVO;
import com.teamc.team.vo.UserBookVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ding
 * @since 2021-06-10
 */
@Repository
public interface ObjectMapper extends BaseMapper<Object> {
    List<UserBookVO> findAll();
    List<UserBookVO> findAllByID(String st);
    List<UserBookVO> findAllByObjectName(String st);
    List<UserBookVO> findAllByTypeName(String st);
    List<AdminObjectVO> adminfindAll();
    List<AdminObjectVO> adminFindAllByObjectID(String x);
    List<AdminObjectVO> adminFindAllByObjectName(String x);
    List<AdminObjectVO> adminFindAllByTypeName(String x);
}
